home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
extra
/
pro13
/
vpaint.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-01
|
390b
|
29 lines
/*
vpaint.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_VPAINT
#ifndef INCL_VGOTOXY
#include "vgotoxy.C"
#endif
#ifndef INCL_VPUTCH
#include "vputch.C"
#endif
void v_paint (int c, int x, int y, int nx, int ny)
{
int i;
for (i = 0; i < ny; i++)
{
v_gotoxy (x, y+i);
v_putch (c, nx);
}
v_gotoxy (x, y);
}